<html>

<head>
    <script>
        window.addEventListener('error', function (error) {
            console.error('error', error);
        });

        window.onresize = function (evt) {
            // console.log(evt)
        };
    </script>
</head>

<body>
    <div id="app">onmove.html</div>
</body>

</html>